import java.util.Date;

import net.java.ao.EntityManager;

import org.junit.* ;

import template.Event;
import static org.junit.Assert.* ;

public class eventtest {

	EntityManager manager = new EntityManager("http://localhost:8080/calendactyl", "user", "password");
	
	// how do I initialize a new event???
    Event t = manager.create(Event.class);
    
    //crazy syntax shit going on
	Date date = new Date(1,1,1);
	
	//the only part of this test that definitely works
	@Test
	public void test_startdate() {
		t.setStartDate(date);
	    assertTrue(t.getStartDate() == date) ;
	}
}
